#include "globaluserlist.h"
#include "userZZL.h"

globaluserlist::globaluserlist()
{
    userZZL *u1, *u2, *u3;
    u1 = new userZZL(101, "user1", "user1", "Beijing",
                    QDateTime(QDate(2023, 10, 1), QTime(15, 30, 1)),
                    QDateTime(QDate(2002, 9, 28), QTime(15, 30, 1))
                    );
    u2 = new userZZL(102, "user2", "user2", "Shanghai",
                     QDateTime(QDate(2023, 10, 7), QTime(15, 30, 1)),
                     QDateTime(QDate(2003, 1, 20), QTime(15, 30, 1))
                     );
    u3 = new userZZL(103, "user3", "user3", "Changchun",
                     QDateTime(QDate(2023, 10, 9), QTime(15, 30, 1)),
                     QDateTime(QDate(2001, 8, 18), QTime(15, 30, 1))
                     );
    this->list = {u1, u2, u3};

}
